package com.softeem.hello.dao;

import com.softeem.hello.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    boolean insert(User user);

    boolean delete(Integer id);

    boolean update(User user);

    List<User> selectAll();

    User selectByUsername(String username);

    User selectById(Integer id);

}
